package DesignPatern.A13_适配器模式.QSB.A01_基本模式;

/**
 * @Author: Du
 * @Date: 2021/8/1 11:27
 */
public class A01_Main
{
    public static void main(String[] args)
    {
        IUserInfo youngGirl = new UserInfo();
    
        for (int i = 0; i < 10; i++)
        {
            youngGirl.getHomeAddress();
        }
    
        System.out.println("===============使用适配器解决新增功能不适配问题==================");
        
        IUserInfo youngGirl1 = new OuterUserInfo();
    
        for (int i = 0; i < 10; i++)
        {
            System.out.println(youngGirl1.getHomeAddress());
        }
    }
}
